package com.sleepcamel.rest.domain.method.parameter;

public enum RESTMethodParameterTypeName {
	PathParam(), QueryParam(),
	FormParam(), MatrixParam(),
	CookieParam(), HeaderParam(), Context(false,"javax.ws.rs.core.");
	
	private boolean acceptsValue = true;
	private String packageName = "javax.ws.rs.";

	private RESTMethodParameterTypeName(){
	}
	
	private RESTMethodParameterTypeName(boolean acceptsValue, String packageName){
		this.acceptsValue = acceptsValue;
		this.packageName = packageName;
	}
	
	public boolean isAcceptsValue() {
		return acceptsValue;
	}

	public String getImport() {
		return packageName+this;
	}

}
